<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">
  <meta charset="UTF-8">
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>401</title>
  <th:block th:include="common/pub_head :: default"></th:block>
  <th:block th:include="common/pub_head :: layui"></th:block>
  <style>
    .layadmin-exception {
      text-align: center;
    }
    .layadmin-exception-title {
      color: #3d4a5d;
      line-height: 40px;
    }
  </style>
</head>
<body>
<div class="content">
  <div class="layui-row">
    <div class="layui-col-xs12">
      <div class="layui-row">
        <div class="layui-col-md4 layui-col-md-offset4">
          <div class="layadmin-exception">
            <i class="layui-icon layadmin-exception-icon">&#xe60b;</i>
            <h3 class="layadmin-exception-title">ヽ(✿ﾟ▽ﾟ)ノ 401 抱歉，您没有访问权限.</h3>
            <a href="javascript:void(0)" onclick="window.location.href = window.location.href"
               class="layui-btn">刷新本页面</a></div>
        </div>
      </div>
    </div>
  </div>
</div>
<script>
  jQuery(function () {
    var fontSize;
    if ($("iframe", window.parent.document).height() > 0) {
      fontSize = ($("iframe", window.parent.document).height() * 0.35).toFixed() + "px";
    } else  {
      fontSize = ($(document).height() * 0.45).toFixed() + "px";
    }
    $(".layadmin-exception-icon").css("font-size", fontSize);
  });
</script>
</body>
</html>